home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 50
/
Volume 50 - JOGO DISK .iso
/
Games
/
moonstonemadness.swf
/
scripts
/
__Packages
/
Library
/
Transition.as
< prev
Wrap
Text File
|
2007-09-27
|
933b
|
42 lines
class Library.Transition extends Library.State
{
static var TRANSITION_SCREEN_COVERED = 1;
static var TRANSITION_COMPLETE = 2;
function Transition(__mcRef)
{
super(__mcRef);
this.setState("Hidden");
}
function doStart()
{
this.setState("In");
}
function doDestroy()
{
}
function doIn()
{
if(this.isStateComplete())
{
this.oListener.onTransitionEvent(Library.Transition.TRANSITION_SCREEN_COVERED,this);
this.setState("Out");
}
}
function doOut()
{
if(this.isStateComplete())
{
this.oListener.onTransitionEvent(Library.Transition.TRANSITION_COMPLETE,this);
this.setState("Hidden");
}
}
function set Listener(_o)
{
this.oListener = _o;
}
function doLoadStateAction()
{
this.mcRef.mcState.btnBlock.useHandCursor = false;
}
}